-
Home
-
Security Optimizer – The All-In-One Protection Plugin
-
1.3.3
-
Code
-
Classes
- Sg_2fa
Total Complexity |
82 |
Dependencies |
5 |
Dependents |
6 |
Total lines |
801 |
Lines of code |
374 |
Logical lines of code |
173 |
Comment lines |
347 |
Methods |
27 |
Properties |
1 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
load_form() |
A |
50 |
8 |
29 |
validate_2fa_login() |
A |
48 |
7 |
32 |
validate_2fabc_login() |
S |
50 |
6 |
29 |
init_2fa() |
S |
48 |
4 |
32 |
get_2fa_nonce_cookie() |
S |
59 |
5 |
14 |
enable_2fa() |
S |
56 |
4 |
19 |
validate_backup_login() |
S |
59 |
4 |
14 |
check_2fa_cookie() |
S |
59 |
4 |
14 |
get_args_for_template() |
S |
61 |
4 |
11 |
reset_user_2fa() |
S |
56 |
3 |
18 |
interim_check() |
S |
58 |
3 |
15 |
login_user() |
S |
59 |
3 |
13 |
store_hashed_user_meta() |
S |
62 |
3 |
11 |
show_profile_security() |
S |
65 |
3 |
8 |
load_backup_codes_form() |
S |
61 |
2 |
13 |
generate_user_qr() |
S |
62 |
2 |
12 |
show_qr_backup_code_used() |
S |
62 |
2 |
11 |
generate_user_secret() |
S |
64 |
2 |
11 |
check_for_users_using_2fa() |
S |
56 |
1 |
21 |
get_instance() |
S |
71 |
2 |
6 |
show_backup_codes() |
S |
65 |
2 |
9 |
generate_user_backup_codes() |
S |
64 |
2 |
9 |
handle_option_change() |
S |
74 |
2 |
5 |
set_2fa_dnc_cookie() |
S |
71 |
1 |
5 |
check_authentication_code() |
S |
74 |
1 |
4 |
generate_qr_code() |
S |
71 |
1 |
5 |
__construct() |
S |
76 |
1 |
4 |